<?php

    // +----------------------------------------------------------------------
    // | 用户模型验证器
    // +----------------------------------------------------------------------
    // | Copyright (c) 2015-2024 http://www.yicmf.com, All rights reserved.
    // +----------------------------------------------------------------------
    // | Author: 微尘 <yicmf@qq.com>
    // +----------------------------------------------------------------------

    namespace app\validate\ucenter;

    use app\common\validate\Base;

    class UserAuth extends Base
    {

        /* 用户模型自动验证 */
        protected $rule = [

            'name|姓名' => [
                'require',
                'chs',
            ],
            'idcard_no|身份证号' => [
                'require',
                'idCard',
            ],
        ];
    }
